


const req1 = new Promise((resolve, reject) => {
    setTimeout(() => {
        resolve('1')
    },1000)

})
const req2 = new Promise((resolve, reject) => {
    setTimeout(() => {
        resolve('2')
    },1000)
})
const req3 = new Promise((resolve, reject) => {
    setTimeout(() => {
        resolve('3')
    },1000)
})
let resA = []
async function send() {
    await req1.then((res) => resA.push(res))
    await req2.then((res) => resA.push(res))
    await req3.then((res) => resA.push(res))
    console.log(resA)
}
send()
